Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test: Adding e2e tests, test README, and pipeline infra for tests #695

Merged
merged 84 commits into from
Apr 11, 2024

Conversation

gracewehner
Copy link
Contributor

@gracewehner gracewehner commented Dec 13, 2023

PR Process

  • Add pull request template, including a checklist for testing
  • Add a semantic conventional commit check for PR titles (for creating the changelog for releases)

Pipeline

  • Split pipeline into two stages: Build (images and charts) and Deploy (on CI/CD clusters)
  • Add an environment lock to the Deploy stage so that only one merge to main can acquire that lock at a time
  • Add running the TestKube tests on the CI/CD clusters to the Deploy stage, so that a new version cannot be deployed on the CI/CD clusters until the current tests have finished running

Docs

  • Add a testing README for processes, Ginkgo and TestKube info, how to run the tests and bootstrap clusters, how to add new tests, etc.

Tests

  • Add the otelcollector/tests folder that has the starting e2e tests, split up into test suites

bragi92 and others added 20 commits March 13, 2024 15:06
- [Container Status] Add windows containers to test for all containers
running
- [Container Status] Add windows containers to test that all processes
are running on container
- [Container Status] Add windows containers to test that there are no
errors in the logs
[Query] up=1 for all default job
[Query] metric existing for each default job
[Query] cluster, job, and instance labels exist on metrics
- Test for /metrics endpoint in the Prometheus UI
- Test for CRs with the correct group name exist
bragi92
bragi92 previously approved these changes Apr 11, 2024
vishiy
vishiy previously approved these changes Apr 11, 2024
@gracewehner gracewehner dismissed stale reviews from vishiy and bragi92 via 55bdd8a April 11, 2024 16:37
@gracewehner gracewehner enabled auto-merge (squash) April 11, 2024 16:41
@gracewehner gracewehner merged commit 0db6d70 into main Apr 11, 2024
18 checks passed
@bragi92 bragi92 deleted the grace/testkube branch October 28, 2024 19:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants